import excelApi from '../excel'
import { ipcMain } from 'electron'

export function initBridge() {
  ipcMain.handle(
    'check-excel-file-event',
    async (event, filePath) => await excelApi.checkExcelFile(filePath)
  )
  ipcMain.handle(
    'save-output-file-event',
    async (event, excelData) => await excelApi.saveExcelFile(excelData)
  )
}
